import Request from "../request";

export default {
    uploadFile: (data: Object) => Request.upload('/api/ali/uploadFile', data),//上传图片
    uploadBurstFile: (data: Object) => Request.upload('/api/uploadBurstFile', data),//大文件分片上传
    mergeFile: (data: Object) => Request.post('/api/merge', data),//发送合并大文件上传到阿里云
    queryDetailById: (data: Object) => Request.post('/api/queryDetailById', data),//采集漫画内容
    queryNovelDetail: (data: Object) => Request.post('/api/queryNovelDetail', data),//采集小说内容
    queryVideolDetail: (data: Object) => Request.post('/api/queryVideolDetail', data),//采集小说内容
    getCartoonLink: (data: Object) => Request.post('/api/getCartoonLink', data),//采集漫画链接
    getNovelLink: (data: Object) => Request.post('/api/getNovelLink', data),//采集小说链接
    getVideoLink: (data: Object) => Request.post('/api/getVideoLink', data),//采集视频链接
}